fix cast: it's drawable_impl->wrapper that is the GdkWindow, not the
authorMichael Natterer <mitch@imendio.com>
Thu, 21 Sep 2006 11:19:25 +0000 (11:19 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Thu, 21 Sep 2006 11:19:25 +0000 (11:19 +0000)
2006-09-21  Michael Natterer  <mitch@imendio.com>

* gdk/quartz/gdkwindow-quartz.c
(gdk_window_impl_quartz_begin_paint_region): fix cast: it's
drawable_impl->wrapper that is the GdkWindow, not the
drawable_impl itself.

ChangeLog
gdk/quartz/gdkwindow-quartz.c

index f2ab3837dd20f665343180a741502c3cf541e366..e9f896e223efc41d60540f14be6b44e2a58b9946 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,12 @@
+2006-09-21  Michael Natterer  <mitch@imendio.com>
+
+       * gdk/quartz/gdkwindow-quartz.c
+       (gdk_window_impl_quartz_begin_paint_region): fix cast: it's
+       drawable_impl->wrapper that is the GdkWindow, not the
+       drawable_impl itself.
+
 2006-09-20  Behnam Esfahbod <behnam@zwnj.org>
+
        * gdk/x11/gdkkeys-x11.c:
          (get_direction): just check the first shift-level of keyboard
        layout for RTL and LTR keysyms() (compliment to #116626)
index 0625dd8d9840ef0da9da4d0402adbec47fa68109..e01e0046d689e3ada81adaedf64cd8a2afdd57fd 100644 (file)
@@ -189,7 +189,7 @@ gdk_window_impl_quartz_begin_paint_region (GdkPaintable *paintable,
       
       x_offset = y_offset = 0;
       
-      window = GDK_WINDOW (GDK_DRAWABLE_IMPL_QUARTZ (impl));
+      window = GDK_WINDOW (GDK_DRAWABLE_IMPL_QUARTZ (impl)->wrapper);
       while (window && ((GdkWindowObject *) window)->bg_pixmap == GDK_PARENT_RELATIVE_BG)
         {
           /* If this window should have the same background as the parent,